package com.graduate.work.graduatework.common;

/**
 * @author: cuibingqi.
 * @date: 17/5/15 下午2:28.
 * @descripe:
 */
public class Result<T>{
    private int code;
    private String msg;
    private T body;


    public Result(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getBody() {
        return body;
    }

    public void setBody(T body) {
        this.body = body;
    }
}
